execute as @e[type=iron_golem,limit=1,tag=Elder_Warden] if function ew:elder_warden/test/tageted run scoreboard players add @s Sonic 1
execute as @e[type=iron_golem,limit=1,tag=Elder_Warden,scores={Sonic=100..}] at @s run function ew:elder_warden/sonic
execute as @e[type=iron_golem,limit=1,tag=Elder_Warden,scores={Sonic=75..}] unless score @s Sonic2 matches -2147483648..2147483647 at @s run function ew:elder_warden/sonic2
execute as @e[type=iron_golem,limit=1,tag=Elder_Warden] if score @s Sonic matches -2147483648..2147483647 unless function ew:elder_warden/test/tageted run scoreboard players reset @s Sonic

#execute if @e[type=armor_stand,tag=beam] 
#execute as @e[type=iron_golem,limit=1,tag=Elder_Warden] at @s run tp @e[type=armor_stand,tag=beam] ^ ^4 ^1,
#execute as @e[type=armor_stand,tag=beam] at @s run particle sonic_boom ~ ~1 ~

